package com.sls.game.service;

public interface CardInformationService {
	/**
	 * 保存卡密信息到数据库
	 * 
	 * @param body
	 * @param requestId
	 * @return
	 * @throws Exception
	 */
	public String save(String body, String requestId) throws Exception;

	/**
	 * 查询所有卡密信息
	 * 
	 * @param body
	 * @param requestId
	 * @return
	 */
	public String queryAll(String body, String requestId);

	/**
	 * 通过卡密编号查询卡密信息
	 * 
	 * @param body
	 * @param requestId
	 * @return
	 */
	public String queryByCardId(String body, String requestId);

	/**
	 * 更新卡密信息
	 * 
	 * @param body
	 * @param requestId
	 * @return
	 * @throws Exception
	 */
	public String update(String body, String requestId) throws Exception;

	/**
	 * 更改商品的销售状态
	 * 
	 * @param body
	 * @param requestId
	 * @return
	 * @throws Exception
	 */
	public String updateSaleState(String body, String requestId)
			throws Exception;

}
